package com.cloudkinto.service.orderoutput.openapivo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhangyy
 * @date 2020/9/8 16:17
 * @description:
 */
@Data
@ApiModel
public class OpenApiOrderOutputProductAddReq {

    /**
     * SKU数量
     */
    @ApiModelProperty("数量")
    private int count;


    @ApiModelProperty("商品sku")
    private String commoditySku;
    @ApiModelProperty("和sku二选一")
    private Long productId;

//    private String storageSku;


    public OpenApiOrderOutputProductAddReq() {
    }

    public OpenApiOrderOutputProductAddReq(int count, String commoditySku) {
        this.count = count;
        this.commoditySku = commoditySku;
    }

    public OpenApiOrderOutputProductAddReq(int count, String commoditySku, Long productId) {
        this.count = count;
        this.commoditySku = commoditySku;
        this.productId = productId;
    }
}
